<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html lang="en">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta name="generator" content="PHPDoctor 2RC4 (http://peej.github.com/phpdoctor/)">
<meta name="when" content="Fri, 10 Jun 2011 12:14:36 +0000">

<link rel="stylesheet" type="text/css" href="../stylesheet.css">
<link rel="start" href="../overview-summary.html">

<title>TrackMania_Exception (API Documentation &bull; TrackMania Web Services SDK for PHP)</title>

</head>
<body id="definition" onload="parent.document.title=document.title;">

<div class="header">
<h1>TrackMania Web Services SDK for PHP</h1>
<ul>
<li><a href="../overview-summary.html">Overview</a></li>
<li><a href="../trackmania/package-summary.html">Namespace</a></li>
<li class="active">Class</li>
<li><a href="../trackmania/package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../todo-list.html">Todo</a></li>
<li><a href="../index-all.html">Index</a></li>
</ul>
</div>

<div class="small_links">
<a href="../index.html" target="_top">Frames</a>
<a href="../trackmania\trackmania_exception.html" target="_top">No frames</a>
</div>
<div class="small_links">
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
</div>
<hr>

<div class="qualifiedName">TrackMania\TrackMania_Exception</div>
<div class="location">trackmania-ws.php at line 840</div>
<h1>Class TrackMania_Exception</h1>

<pre class="tree">Exception<br> └─<strong>TrackMania_Exception</strong><br /></pre>

<hr>

<p class="signature">public  class <strong>TrackMania_Exception</strong><br>extends Exception

</p>

<div class="comment" id="overview_description"><p>Exception thrown by the services when something goes wrong</p></div>

<hr>

<table id="summary_method">
<tr><th colspan="2">Method Summary</th></tr>
<tr>
<td class="type"> void</td>
<td class="description"><p class="name"><a href="#__construct()">__construct</a>(mixed message, mixed code, mixed statusCode, mixed statusMessage)</p></td>
</tr>
<tr>
<td class="type"> int</td>
<td class="description"><p class="name"><a href="#getHTTPStatusCode()">getHTTPStatusCode</a>()</p><p class="description">The HTTP status code returned in case of an error, eg. </p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#getHTTPStatusMessage()">getHTTPStatusMessage</a>()</p><p class="description">The HTTP status message returned in case of an error, eg. </p></td>
</tr>
</table>

<h2 id="detail_method">Method Detail</h2>
<div class="location">trackmania-ws.php at line 846</div>
<h3 id="__construct()">__construct</h3>
<code class="signature">public  void <strong>__construct</strong>(mixed message, mixed code, mixed statusCode, mixed statusMessage)</code>
<div class="details">
</div>

<hr>

<div class="location">trackmania-ws.php at line 858</div>
<h3 id="getHTTPStatusCode()">getHTTPStatusCode</h3>
<code class="signature">public  int <strong>getHTTPStatusCode</strong>()</code>
<div class="details">
<p>The HTTP status code returned in case of an error, eg. 404</p></div>

<hr>

<div class="location">trackmania-ws.php at line 867</div>
<h3 id="getHTTPStatusMessage()">getHTTPStatusMessage</h3>
<code class="signature">public  string <strong>getHTTPStatusMessage</strong>()</code>
<div class="details">
<p>The HTTP status message returned in case of an error, eg. "Not Found"</p></div>

<hr>

<div class="header">
<h1>TrackMania Web Services SDK for PHP</h1>
<ul>
<li><a href="../overview-summary.html">Overview</a></li>
<li><a href="../trackmania/package-summary.html">Namespace</a></li>
<li class="active">Class</li>
<li><a href="../trackmania/package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../todo-list.html">Todo</a></li>
<li><a href="../index-all.html">Index</a></li>
</ul>
</div>

<div class="small_links">
<a href="../index.html" target="_top">Frames</a>
<a href="../trackmania\trackmania_exception.html" target="_top">No frames</a>
</div>
<div class="small_links">
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
</div>
<hr>

<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>

</body>

</html>